import { defineAsyncComponent, hydrateOnVisible } from 'vue';
import SYSTEM_ROUTE from './modules/system'
import HOME_ROUTE from './modules/work'  
import WORK_ROUTE from './modules/home'    

export default {
  NotFound: defineAsyncComponent({
    hydrate: hydrateOnVisible(),
    loader: () => import('@/views/_core/fallback/not-found.vue'),
  }),
  Calculator: defineAsyncComponent({
    hydrate: hydrateOnVisible(),
    loader: () => import('@/components/core/calculator/src/index.vue'),
  }),
  ...SYSTEM_ROUTE,
  ...HOME_ROUTE,
  ...WORK_ROUTE,
};
